package com.mobile.challenge.di.module;

import com.mobile.challenge.ui.ResetPasswordFragment;
import com.mobile.challenge.ui.home.HomeFragment;
import com.mobile.challenge.ui.mine.MineFragment;
import com.mobile.challenge.ui.report.ReportFragment;
import com.mobile.challenge.ui.report.my.MyReportFragment;
import com.mobile.challenge.ui.report.unit.admin.AdminUnitReportFragment;
import com.mobile.challenge.ui.report.unit.admin.daily.AdminUnitDailyReportFragment;
import com.mobile.challenge.ui.report.unit.admin.weekmonth.AdminHistogramFragment;
import com.mobile.challenge.ui.report.unit.manager.ManagerUnitReportFragment;
import com.mobile.challenge.ui.report.unit.manager.daily.ManagerUnitDailyReportFragment;
import com.mobile.challenge.ui.report.unit.manager.weekmonth.ManagerLineFragment;
import com.mobile.frame.mvvmframe.di.component.BaseFragmentSubcomponent;

import dagger.Module;
import dagger.android.ContributesAndroidInjector;

/**
 * created by  shakespace
 * 2020/9/15  9:37
 */
@Module(subcomponents = BaseFragmentSubcomponent.class)
public abstract class FragmentModule {

    @ContributesAndroidInjector
    abstract HomeFragment contributeHomeFragment();

    @ContributesAndroidInjector
    abstract MineFragment contributeMineFragment();

    @ContributesAndroidInjector
    abstract ReportFragment contributeReportFragment();

    @ContributesAndroidInjector
    abstract MyReportFragment contributeMyReportFragment();

    @ContributesAndroidInjector
    abstract AdminUnitReportFragment contributeUnitReportFragment();

    @ContributesAndroidInjector
    abstract AdminUnitDailyReportFragment contributeUnitDailyReportFragment();

    @ContributesAndroidInjector
    abstract AdminHistogramFragment contributeHistogramFragment();

    @ContributesAndroidInjector
    abstract ManagerUnitReportFragment contributeManagerUnitReportFragment();

    @ContributesAndroidInjector
    abstract ManagerUnitDailyReportFragment contributeManagerUnitDailyReportFragment();

    @ContributesAndroidInjector
    abstract ManagerLineFragment contributeManagerLineFragment();

    @ContributesAndroidInjector
    abstract ResetPasswordFragment contributeResetPasswordFragment();

}
